]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Adjust the pressure barrier threshold values
authorJasper St. Pierre <jstpierre@mecheye.net>
Thu, 21 Feb 2013 21:43:28 +0000 (16:43 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 27 Feb 2013 19:01:42 +0000 (14:01 -0500)
After a day of experimentation with Cosimo and Jon McCann, we
found that this was the best way to do this.

https://bugzilla.gnome.org/show_bug.cgi?id=694467

js/ui/layout.js

index 56519b4015e21991b65a430678c3dfefa2cb1818..ad0ed42d7f11bc9c1bf4a76fd946c459769edd8a 100644 (file)
@@ -25,8 +25,8 @@ const DEFAULT_BACKGROUND_COLOR = Clutter.Color.from_pixel(0x2e3436ff);
 
 // The message tray takes this much pressure
 // in the pressure barrier at once to release it.
-const MESSAGE_TRAY_PRESSURE_THRESHOLD = 200; // pixels
-const MESSAGE_TRAY_PRESSURE_TIMEOUT = 3000; // ms
+const MESSAGE_TRAY_PRESSURE_THRESHOLD = 250; // pixels
+const MESSAGE_TRAY_PRESSURE_TIMEOUT = 1000; // ms
 
 function isPopupMetaWindow(actor) {
     switch(actor.meta_window.get_window_type()) {